<?php 
namespace app\admin\controller;
use think\Controller;

class Logincheck extends Controller{
	function _initialize(){
		if(!session('?user')){
			$this->redirect("location:admin/login/login");
			exit;
		}
	}
}